package com.yjd.comm.job.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：后台JOB管理模型<br>
 * <b>time</b>：2017-08-14 13:04:44 <br>
 * <b>author</b>：  yangchangyan@yijiedai.com
 */
public class JobModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	
	 /*
	  *任务编号，自动增长，主键 
	  */
	private Long id_job;
	 /*
	  *job标志，唯一，可以为job的完整名称 
	  */
	private String type;
	 /*
	  *定时器执行时间表达式 
	  */
	private String cron;
	 /*
	  *是否执行，0：不执行，1：执行，默认为0 
	  */
	private Integer enable;
	 /*
	  *定时任务描述（定时任务所在的工程、类、主要功能） 
	  */
	private String description;
	 /*
	  *创建人id 
	  */
	private Long id_user_create;
	 /*
	  *创建时间 
	  */
	private Long create_time;
	 /*
	  *修改人id 
	  */
	private Long id_user_modify;
	 /*
	  *最后修改时间 
	  */
	private Long modify_time;
	 /*
	  *上次执行时间 
	  */
	private Long last_exectime;
	 /*
	  *下次执行时间 
	  */
	private Long next_exectime;
	 /*
	  *job失败重复执行次数 
	  */
	private Integer retry_times;
	 /*
	  * 
	  */
	private Integer fail_times;
	 /*
	  * 
	  */
	private String executor_ip;

	public Long getId_job() {
		return id_job;
	}

	public void setId_job(Long id_job) {
		this.id_job = id_job;
	}
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}
	public Integer getEnable() {
		return enable;
	}

	public void setEnable(Integer enable) {
		this.enable = enable;
	}
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	public Long getId_user_create() {
		return id_user_create;
	}

	public void setId_user_create(Long id_user_create) {
		this.id_user_create = id_user_create;
	}
	public Long getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Long create_time) {
		this.create_time = create_time;
	}
	public Long getId_user_modify() {
		return id_user_modify;
	}

	public void setId_user_modify(Long id_user_modify) {
		this.id_user_modify = id_user_modify;
	}
	public Long getModify_time() {
		return modify_time;
	}

	public void setModify_time(Long modify_time) {
		this.modify_time = modify_time;
	}
	public Long getLast_exectime() {
		return last_exectime;
	}

	public void setLast_exectime(Long last_exectime) {
		this.last_exectime = last_exectime;
	}
	public Long getNext_exectime() {
		return next_exectime;
	}

	public void setNext_exectime(Long next_exectime) {
		this.next_exectime = next_exectime;
	}
	public Integer getRetry_times() {
		return retry_times;
	}

	public void setRetry_times(Integer retry_times) {
		this.retry_times = retry_times;
	}
	public Integer getFail_times() {
		return fail_times;
	}

	public void setFail_times(Integer fail_times) {
		this.fail_times = fail_times;
	}
	public String getExecutor_ip() {
		return executor_ip;
	}

	public void setExecutor_ip(String executor_ip) {
		this.executor_ip = executor_ip;
	}

}
